// 1-3-1.cpp

#include <iostream>
using namespace std;

int main()
{
    int a, b, tmp;
    cin >> a >> b;

    tmp = a;
    a = b;
    b = tmp;

    cout << a << ' ' << b << endl;
    return 0;
}
